package com.springweb.unit2.xml.impl;

import com.springweb.unit2.xml.CompactDisc;
import com.springweb.unit2.xml.MediaPlayer;

public class AnotherCDPlayer implements MediaPlayer {
	private CompactDisc cd;
	public AnotherCDPlayer(CompactDisc cd) {
		this.cd = cd;
	}

	@Override
	public void play() {
		cd.play();
	}

}
